package com.kuzan.autocloud.common.repository.menu;

import com.kuzan.autocloud.common.model.menu.MenuGroup;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>Description: </p>
 *
 * @author kuzank
 */
@Repository
public interface MenuGroupRepository extends JpaRepository<MenuGroup, String> {

    List<MenuGroup> findAllByBelongOrderBySortAsc(String belong);
}
